<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>修改用户</title>
  <link th:href="@{/login/css/bootstrap.min.css}" rel="stylesheet">
  <link th:href="@{/login/css/signin.css}" rel="stylesheet">
</head>
<body>

<div style="width:800px;height:100%;margin-left:270px;">
  <form action="/user/update" method="post" enctype="multipart/form-data">
    <div th:each="user : ${users}">
      编号：<input class="form-control" type="text" th:value="${user.id}" name="id"><br>
      姓名：<input class="form-control" type="text" th:value="${user.name}" name="name"><br>
      邮件：<input class="form-control" type="text" th:value="${user.email}" name="email"><br>
      年龄：<input class="form-control" type="text" th:value="${user.age}" name="age"><br>
      <button class="btn btn-primary btn-lg btn-block" type="submit">提交</button>
    </div>
  </form>
</div>

</body>
</html>
